package sma.organizations.signals;

import javax.vecmath.Vector2d;

import org.janusproject.kernel.agentsignal.Signal;

/**
 * Signal utilise pour envoyer la position du vehicule au telemetre
 * @author Arnaud Schaeffer
 *
 */
public class SendDirectionSignal extends Signal {

	private static final long serialVersionUID = 907849552158727195L;
	
	/**
	 * La position :
	 */
	private Vector2d position;
		
	/**
	 * @param source is the emitter of the signal
	 * @param position is the movement to sent.
	 */
	public SendDirectionSignal(Object source, Vector2d position) {
		super(source);
		this.position = new Vector2d(position);
	}

	/**
	 * @return the position
	 */
	public Vector2d getPosition() {
		return position;
	}
	
	
}
